<?php
if(!defined("ADMREAD")) exit();
global $sess,$lang,$ADMIN_ID,$CHECK_ADMIN;
$block = array();
if(in_array('info',$ADMIN_PERM_ARRAY) || in_array($ADMIN_ID,$CHECK_ADMIN['admid'])){
    $block['id'] = 'infopages';
    $block['title'] = $lang['menu_info'];
    $block['link'] = array('info.php?dn=index&ops='.$sess['hash'] => $lang['all_page'],
    'info.php?dn=add&ops='.$sess['hash'] => $lang['add_page']);

}
?>